package org.ly.sys.bean;

import lombok.Data;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
* 角色表
*/
@Data
@Table("sys_role")
public class Role {

	/**
	 * 
	 */
	@Id
	@Column("role_id")
	private Integer roleId;
	/**
	 * 角色名称
	 */
	@Column("role_name")
	private String roleName;
	/**
	 * 资源名称
	 */
	@Column("role_resource")
	private String roleResource;
	/**
	 * 添加权限标示
	 */
	@Column("role_add")
	private String roleAdd;
	/**
	 * 删除权限标示
	 */
	@Column("role_del")
	private String roleDel;
	/**
	 * 修改权限标示
	 */
	@Column("role_edit")
	private String roleEdit;
	/**
	 * 查看权限标示
	 */
	@Column("role_view")
	private String roleView;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleResource() {
        return roleResource;
    }

    public void setRoleResource(String roleResource) {
        this.roleResource = roleResource;
    }

    public String getRoleAdd() {
        return roleAdd;
    }

    public void setRoleAdd(String roleAdd) {
        this.roleAdd = roleAdd;
    }

    public String getRoleDel() {
        return roleDel;
    }

    public void setRoleDel(String roleDel) {
        this.roleDel = roleDel;
    }

    public String getRoleEdit() {
        return roleEdit;
    }

    public void setRoleEdit(String roleEdit) {
        this.roleEdit = roleEdit;
    }

    public String getRoleView() {
        return roleView;
    }

    public void setRoleView(String roleView) {
        this.roleView = roleView;
    }
}